package com.ruoyi.system.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.system.domain.PolicyInterpretation;
import com.ruoyi.system.service.IPolicyInterpretationService;

/**
 * 政策法规解读Controller
 */
@RestController
@RequestMapping("/policyInterpretation")
public class PolicyInterpretationController {

    @Autowired
    private IPolicyInterpretationService policyInterpretationService;

    /**
     * 查询政策法规列表
     */
    @GetMapping("/list")
    public R<List<PolicyInterpretation>> list() {
        List<PolicyInterpretation> list = policyInterpretationService.selectPolicyInterpretationList();
        return R.ok(list);
    }
}